<form class="form-props-info-scroll layui-form temProps" lay-filter="temProps">
  <div class="form-props-title">
    隐藏域属性
  </div>
  <div class="layui-collapse" lay-accordion>
    <div class="layui-colla-item">
      <h2 class="layui-colla-title">基本属性</h2>
      <div class="layui-colla-content layui-show">
          <div class="form-props-item">
            <label>标题</label>
            <input type="text" name="textTitle"  autocomplete="off" class="layui-input temText" optName='hideFieldLabel'>
          </div>

          <div class="form-props-item temRadio" temPropOpt='display' optName='hideFieldLabel'>
              <label>显示标题</label>
              <div>
                  <input type="radio" name="hideFieldDisplay" lay-filter="temRadio" value="block" title="是">
                  <input type="radio" name="hideFieldDisplay" lay-filter="temRadio" value="none" title="否">
              </div>
          </div>



      </div>
    </div>
    <div class="layui-colla-item">
      <h2 class="layui-colla-title">高级属性</h2>
      <div class="layui-colla-content">

        <div class="addPropsTitle">
          <span>添加属性</span>
          <i class="layui-icon layui-icon-add-1 addProperty"></i>   
        </div>
        <div class="addPropsHandle" optName='hideFieldInput' defPropName='name,class,type,placeholder,autocomplete'>
          <div class="form-props-input">
            <input type="text" autocomplete="off" class="layui-input propKey">
            <input type="text" autocomplete="off" class="layui-input propVal">
            <i class="layui-icon layui-icon-delete itemDel"></i>   
          </div>

          
        </div>

      </div>
    </div>
  </div>
</form>

<script>
    layui.use([], function(){
      var 
      // $ = layui.$,
      // form = layui.form,
      propsHandle = layui.propsHandle;
      // tag = $('.selectStamp'),
      // sliderObjInput = tag.find('.textInput'),
      // sliderObjLabel = tag.find('.textLabel');

// ---------init赋值
      propsHandle({
        // "textVerify[required]":sliderObjInput.attr('lay-verify') === 'required' ? true : false,
      })
     

//  -----------附加操作---------    ·

      
      // form.on('checkbox(textVerify)', function(data){
      //   var check = data.elem.checked;
      //   sliderObjInput.attr('lay-verify',check ? 'required':'')
      // });
      




    });
</script>